var btn = document.getElementById("btn");
btn.onclick = function (){
    alert("aaa")
}